// stdafx.h : include file for standard system include files,
// or project specific include files that are used frequently, but
// are changed infrequently
//

#pragma once

#ifndef _WIN32_WINNT		// Allow use of features specific to Windows XP or later.                   
#define _WIN32_WINNT 0x0501	// Change this to the appropriate value to target other versions of Windows.
#endif						

#ifndef ZLIB_WINAPI
#define ZLIB_WINAPI
#endif

#include <iostream>
#include <iomanip>
#include <stdexcept>
#include <fstream>
#include <sstream>
#include <string>
#include <iterator>
#include <list>
#include <vector>
#include <queue>
#include <deque>
#include <map>
#include <hash_map>
#include <ctime>
#include <cstring>
#include <cerrno>
#include <cstdlib>
#include <cctype>
#include <memory>

#include <stdlib.h>
#include <stdio.h>
#include <math.h>
#include <assert.h>
#include <time.h>
#include <malloc.h>
#include <sys/types.h>
#include <sys/stat.h>

#include <winsock2.h>
#include <ws2tcpip.h>
#include <mswsock.h>
#include <windows.h>

using namespace std;
using namespace stdext;

typedef unsigned __int8 Byte;

typedef __int16 Int16;
typedef unsigned __int16 UInt16;
typedef __int32 Int32;
typedef unsigned __int32 UInt32;
typedef __int64 Int64;
typedef unsigned __int64 UInt64;
